Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

[QUAD] Enhancement : Report case sensitivity issues for create folder structure operation #6291

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ccaillot
Copy link

No description provided.

},
{
"type": "label",
"value": "Please move content and delete duplicate folders."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (88 > 79 characters)

"type": "label",
"value": "The following pair of paths coexist in the same parent directory "
"and its probably an issue (only the first folder path of every pair "
"should exists):\n{}".format(path_list_str)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

{
"type": "label",
"value": "The following pair of paths coexist in the same parent directory "
"and its probably an issue (only the first folder path of every pair "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (107 > 79 characters)

},
{
"type": "label",
"value": "The following pair of paths coexist in the same parent directory "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (104 > 79 characters)

# Prepare the list of pair paths that coexist
path_list_str = ""
for issue in case_sensitivity_issues:
path_list_str = path_list_str + "\n{}\n{}\n".format(issue[0], issue[1])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (91 > 79 characters)

create_project_folders(project_name, basic_paths)
case_sensitivity_issues = create_project_folders(project_name, basic_paths)
# Even if there are case sensitivity issues, the folders have been created,
# so we still need to create the entities and trigger the event normally
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (84 > 79 characters)

@@ -84,14 +84,44 @@ def launch(self, session, entities, event):
}

# Invoking OpenPype API to create the project folders
create_project_folders(project_name, basic_paths)
case_sensitivity_issues = create_project_folders(project_name, basic_paths)
# Even if there are case sensitivity issues, the folders have been created,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (87 > 79 characters)

@@ -84,14 +84,44 @@ def launch(self, session, entities, event):
}

# Invoking OpenPype API to create the project folders
create_project_folders(project_name, basic_paths)
case_sensitivity_issues = create_project_folders(project_name, basic_paths)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (87 > 79 characters)

# Else check for doppelgängers
for dir_child_path_str in os.listdir(path_parent):
if dir_child_path_str.lower() == path_part.lower():
case_sensitivity_issues.append((path_current, str(path_parent.joinpath(dir_child_path_str))))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (117 > 79 characters)

@ynbot ynbot added type: enhancement Enhancements to existing functionality module: Ftrack size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack size/XS Denotes a PR changes 0-99 lines, ignoring general files type: enhancement Enhancements to existing functionality
Projects
Status: Pending Review
Development

Successfully merging this pull request may close these issues.

2 participants